<?php
// **End user: Edit then save as var/config.php**
// This file defines the default config only!

// # General

@define ('SITE_NAME',null);

// Comma separated list of extra pages to display at the top
@define ('FEATURED_PAGES','');

// ABSOLUTE path to the wiki. It can be optionally versioned with any SCM
// it can be anywhere on the local system, as long as SCMwiki can read it.
@define ('WIKI_DIR',VAR_DIR.'wiki/');

// directory internal files (images, media, css etc) are to be served from
@define ('INCLUDE_DIR',VAR_DIR.'include/');

@define ('CSS_URL','?node=style');

@define ('ALLOW_JS',false);

// manifest regex to match wiki files
@define ('WIKI_FILE_REGEX','/([\w \']+)\.(wiki|te?xt)$/');

// for index
@define ('KEYSTORE_DIR',VAR_DIR.'keystore/');

// # Speed improvements

// Cache actor
// Choose a type of global cache from the following options (ordered 
// by speed):
// * APC - fastest!
// * memcached - extremely fast, can be shared - config below required
// * disk - no setup required, fast!
// * null - fake cache, effectively disabling the global cache. SLOW, for debugging only.
@define ('CACHE_ACTOR','disk');

// this is the same as above, but instead applies to hosted files under 
// the include directory. Note that this will only work for dynamic mode.
@define ('PERSISTENT_STATIC_FILES',true);

// internal static leaf files are unchanging under normal use. This enables
// client side caching, and will reduce the number of GET requests the app uses.
// If they do change (for example, if the app is upgraded) then this could cause
// problems; hence it is disabled by default.
@define ('PERSISTENT_STATIC_NODES',true);

// MEMCACHED CONFIG - only applicable if CACHE is memcached
// the php extension needs to be installed (sudo apt-get install php5-memcache)
// and the webserver needs to be reloaded
//@define ('MEMCACHED_IP',127.0.0.1);

// TIP: Simply install php-apc for a ~2x speed improvement!
// TIP: for large sites, use a CDN.
?>
